﻿<!-- 模板继承 -->
<extend name="Public:common" />
<block name="content">
	<script language="JavaScript">
function refreshCc() { //刷新
	document.getElementById("verifyImg").src= "__MODULE__/Login/Verify/"+Math.random(); // 连随机数的作用是请缓存
}
</script>

<!-- 头部 -->

    <!--/sidebar-->
    <style>
		.crumb-list a{
			color:#428BCA;
		}
	</style>
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="__MODULE__">首页</a><span class="crumb-step">&gt;</span><a href="__MODULE__/Search/index">检索</a><span class="crumb-step">&gt;</span><span class="crumb-name">检索展示</span></div>
        </div>
        <div class="result-wrap">
<form action="__CONTROLLER__/changePwd" method="post" class="registerform">
	<table class="insert-tab"  width="1120">
		<tr>
			<th><font color="red">*</font>原密码: </th>
			<td style="text-align:left">
				<input type="password" name="oldpassword" id="old_password" class="common-text required"  value="" datatype="*5-16" nullmsg="请设置密码！" errormsg="密码范围在5~16位之间！"/>
			</th>
		</tr>
		<tr>
			<th><font color="red">*</font>新密码: </th>
			<td style="text-align:left">
				<input type="password" value="" name="password" class="common-text required" datatype="*5-16" nullmsg="请设置密码！" errormsg="密码范围在5~16位之间！" />
			</td>
		</tr>
		<tr>
			<th><font color="red">*</font>确认密码: </th>
			<td style="text-align:left">
				<input type="password" value="" name="repassword" class="common-text required" datatype="*" recheck="password" nullmsg="请再输入一次密码！" errormsg="您两次输入的账号密码不一致！" />
			</td>
		</tr>

					<tr class="row" >
					<th><font color="red">*</font>验证码： </th>
					<td>
						<input type="text" class="small bLeftRequire" name="verify" datatype="*4-5" nullmsg="请填写验证码！" errormsg="请填写验证码！！">
						<img SRC="__URL__/verify/" BORDER="0" ALT="点击刷新验证码" id="verifyImg" onClick="refreshCc()" style="cursor:pointer" align="absmiddle">
					</td>
				</tr>
		<tr>		
	<td></td>
			<td >
				<input class="btn btn-primary btn6 mr10" type="submit" value="修改" >
				<input class="btn btn6" type="reset" value="重置" />
			</td>
		</tr>
	</table>
	
 </form>
        </div>
    </div>

    <script type="text/javascript">
    $(function(){
    	//$(".registerform").Validform();  //就这一行代码！;
    	
    	var demo=$(".registerform").Validform({
    		tiptype:3,
    		postonce:true,
    		showAllError:true,
    		
    	});

    });
    </script>
</block>